﻿#pragma warning disable 649    // disable compiler warnings about unassigned fields

namespace SoftSource.Timecard.Web.Data
{
    using System;
    using System.ComponentModel.DataAnnotations;

    // The MetadataTypeAttribute identifies ProjectMemberMetadata as the class
    // that carries additional metadata for the ProjectMember class.
    [MetadataTypeAttribute(typeof(ProjectMember.ProjectMemberMetadata))]
    public partial class ProjectMember
    {
        internal sealed class ProjectMemberMetadata
        {

            // Metadata classes are not meant to be instantiated.
            private ProjectMemberMetadata()
            {
            }

            [Display(Name = "End Date")]
            public Nullable<DateTime> EndDate;

            [Display(Name = "Hourly Rate")]
            public Nullable<decimal> HourlyRate;

            public Guid ID;

            public Project Project;

            public int ProjectID;

            [Display(Name = "Start Date")]
            public Nullable<DateTime> StartDate;

            public int UserID;
        }
    }
}

#pragma warning restore 649    // re-enable compiler warnings about unassigned fields
